import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_target_tasking_entity.g.dart';

@JsonSerializable()
class GetTargetTaskingEntity {

	GetTargetTaskingEntity();

	factory GetTargetTaskingEntity.fromJson(Map<String, dynamic> json) => $GetTargetTaskingEntityFromJson(json);

 ///点击效果
  bool checkboxSelected=false;

	String? allocationId;
	String? allocationName;
	String? allocationType;
	String? checkCycle;
	String? checkCycleUnit;
	String? checkCycleUnitLabel;
	String? checkMeans;
	String? companyCode;
	String? controlMeasures;
	String? controlMeasuresLabel;
	double? controllable;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? departmentId;
	String? effectiveTime;
  String? endRefreshTime;
	String? hazardCode;
	String? id;
	double? inspectionStatus;
	String? instrumentId;
	double? isApprove;
	double? isUpload;
	String? riskEventId;
	String? riskEventName;
	String? riskMeasureId;
	String? riskMeasureName;
	String? riskObjectId;
	String? riskObjectName;
	String? riskUnitId;
	String? riskUnitName;
	String? season;
  String? startRefreshTime;
	double? status;
	String? taskNum;
	String? taskStatus;
	List<GetTargetTaskingTaskTimeNodeTables>? taskTimeNodeTables;
	String? troubleshootContent;
	String? updateBy;
	String? updateById;
	String? updateDate;
	String? userId;
	String? warehouseId;
	String? workDayType;
	String? workDayTypeLabel;
  String? workEndTime;
	String? workKind;
	List<GetTargetTaskingWorkKindCycleChangeList>? workKindCycleChangeList;
	String? workKindLabel;
  String? workStartTime;
	String? workType;

	Map<String, dynamic> toJson() => $GetTargetTaskingEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
@JsonSerializable()
class GetTargetTaskingTaskTimeNodeTables {

	GetTargetTaskingTaskTimeNodeTables();

	factory GetTargetTaskingTaskTimeNodeTables.fromJson(Map<String, dynamic> json) => $GetTargetTaskingTaskTimeNodeTablesFromJson(json);
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? departmentId;
	double? hasItBeenClaimed;
	String? id;
	String? recipientId;
	String? recipientName;
	String? recipientPhone;
	double? remember;
	String? startDate;
	String? taskProgrammeId;
	String? tbBaseControlMeasuresId;
	String? tbBaseMeasuresTaskId;
	String? tbBaseRiskEventsId;
	String? tbBaseRiskObjectId;
	String? tbBaseRiskUnitId;
	String? updateBy;
	String? updateById;
	String? updateDate;
	String? validityPeriodEndTime;
	String? validityPeriodStartTime;

	Map<String, dynamic> toJson() => $GetTargetTaskingTaskTimeNodeTablesToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
@JsonSerializable()
class GetTargetTaskingWorkKindCycleChangeList {

	GetTargetTaskingWorkKindCycleChangeList();

	factory GetTargetTaskingWorkKindCycleChangeList.fromJson(Map<String, dynamic> json) => $GetTargetTaskingWorkKindCycleChangeListFromJson(json);
	String? attribute;
	String? checkCycle;
	String? checkCycleUnit;
	String? checkCycleUnitLabel;
	String? createBy;
	String? createDate;
	String? endTime;
	String? executeType;
	String? executeTypeLabel;
  String? hourEndTime;
  String? hourStartTime;
	String? id;
	String? startTime;
	String? status;
	String? taskId;
	String? updateBy;
	String? updateDate;

	Map<String, dynamic> toJson() => $GetTargetTaskingWorkKindCycleChangeListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
